<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib uri="/WEB-INF/tlds/jlcindia.tld" prefix="jlc" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="core" %>

<html>
<head>
<link rel="stylesheet" type="text/css"
href="<%=request.getContextPath()%>/css/jlcindia.css">
<link rel="stylesheet" type="text/css"
href="<%=request.getContextPath()%>/css/indexstyle.css">
</head>

<body>
<center>
<form action="changePassword.jlc" method="post">
<table class="textStyle">
<tr bgcolor="orange">
<td align="center" colspan="7">
<font size="5"><b>Change User Password</b></font>
</td>
</tr>

<tr bgcolor="lightyellow">
<td align="center" colspan="3">
<font size="4" color="red"><b><jlc:error 
property="changePasswordError"/></b></font>
</td>
</tr>
<tr><td><br/></td></tr>
<core:if test="${CHANGED_PASSWORD ne 'OK'}">

<tr>
<td align="center" height="">
<font size="5"><b>Current Password</b></font></td>
<td>
<input type="password" size="35" name="currpass" style="color: black;background-color: #b4e0d2;
font-size: 35"/>
</td>
<td><b><font size="4" color="red"><jlc:error property="currpass"/></font></b></td>
</tr>

<tr>
<td><font size="5"><b>New Password</b></font></td>
<td>
<input type="password" size="35" name="newpass" style="color: black;background-color: #b4e0d2;
font-size: 20"/>
</td>
<td><b><font size="4" color="red"><jlc:error property="newpass"/></font></b></td>
</tr>


<tr>
<td align="center">
<font size="5"><b>Confirm Password</b></font></td>
<td>
<input type="password" size="35" name="confpass" style="color: black;background-color: #b4e0d2;
font-size: 20"/>
</td>
<td><b><font size="4" color="red"><jlc:error property="confpass"/></font></b></td>
</tr>

<tr>
<td align="center" colspan="3">
<br/>
<input type="submit" value="Change Password" style="color: white;background-color: maroon;
font-size: 17">
</td>
</tr>

</core:if>


</table>
</form>
</center>

</body>
</html>